/*
 * Copyright (c) 2014, Asiainfo-Linkage. All rights reserved.
 * Asiainfo-Linkage PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package edu.w106.platform.mc;

/**
 * <p><b>标题：</b>Message.</p>
 *
 * <p><b>描述：</b></p>
 *
 * <p><b>版权：</b>Copyright (c) 2014 亚信联创</p>
 *
 * <p><b>工程：</b>w106-mc</p>
 *
 * @author w106
 *
 * @version 1.0.0
 *
 * @since 2014-4-30 下午3:23:04
 */
public class Message {

    public static int MSG_INFO = 1;

    public static int MSG_ERROR = 2;;

    public static int MSG_WARN = 3;

    private String content;

    private int type;

    public Message() {

    }

    public Message(int type, String info) {
        this.type = type;
        content = info;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
